package com.yabushan.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yabushan.common.annotation.Excel;
import com.yabushan.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Description YmxAsinTemplateInfoVo
 * @Author huihui
 * @Date 2021-04-15 17:35:19
 * @Version 1.0
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value="YmxAsinTemplateInfoVo",description = "ASIN模板信息实体类")
public class YmxAsinTemplateInfoVo extends BaseEntity implements Serializable {

    /** 模板表主键 */
    private String asinTemplateId;

    /** 商品模板名称 */
    @Excel(name = "商品模板名称", cellType = Excel.ColumnType.STRING, prompt = "商品模板名称")
    private String asinTemplateName;

    /** 礼物模板名称 */
    @Excel(name = "礼物模板名称", cellType = Excel.ColumnType.STRING, prompt = "礼物模板名称")
    private String templateName;

//    /** 礼物模板列表 */
//    @Excel(name = "礼物模板列表")
//    private List<YmxGifiTemplateInfoVo> gifiTemplateInfoVoList = new ArrayList<>();

    /** 模板ID */
    @Excel(name = "模板ID")
    private String templateId;

    /** 产品名称 */
    @Excel(name = "产品名称", cellType = Excel.ColumnType.STRING, prompt = "产品名称")
    private String orderName;

    /** 产品图片 */
    @Excel(name = "产品图片", cellType = Excel.ColumnType.STRING, prompt = "产品图片")
    private String orderImage;

    /** 折扣码 */
    @Excel(name = "折扣码", cellType = Excel.ColumnType.STRING, prompt = "折扣码")
    private String discountCode;

    /** 质保开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "质保开始日期", cellType = Excel.ColumnType.STRING, dateFormat = "yyyy-MM-dd",prompt = "质保开始日期")
    private Date warrantyStartDate;

    /** 质保结束日期 */
    @Excel(name = "质保月份数", cellType = Excel.ColumnType.NUMERIC,prompt = "质保月份数")
    private Integer warrantyEndDate;

    /** ASIN */
    @Excel(name = "ASIN", cellType = Excel.ColumnType.STRING, prompt = "ASIN")
    private String asin;

}
